.code16
.section .data
.section .text
.global _start
.equ BOOTSEG,0x07c0
_start:
ljmp $BOOTSEG,$go
go:
    movw %cs,%ax
    movw %ax,%ds
    movw %ax,%es
    # movw $17,%di
    # movb $0xa,%bl
    # movw $msg1,%cx
    # movb %bl,(%cx,%di,1)
    movw $19,%cx
    movw $0x1004,%dx
    movw $0x000c,%bx
    movw $msg1,%bp
    movw $0x1301,%ax
    int $0x10
loop1:
    jmp loop1
msg1:
    .ascii "Loading system..."
    .byte 13,10
    .org 510
    .word 0xAA55


